<?php /* Template_ 2.2.4 2011/09/30 13:56:23 E:\PHP\www\sagapo\template_\default\default\index.html 000001616 */ ?>
<section class="anniversary">
	<div class="header">
		<h3> <span class="name">akddd & gaeri</span> 기념일 현황 </h3>
		<div class="detail">
			<a href="<?php echo $TPL_VAR["CFG"]->PATH->WWW?>/anniversary/">자세히보기</a>
		</div>
	</div>
	<div class="content">
		<div class="status">
			<h4>TODAY : <?php echo date("Y-m-d")?></h4> 
			<ul>
<?php if(is_array($TPL_R1=$TPL_VAR["anniversary"]->status)&&!empty($TPL_R1)){foreach($TPL_R1 as $TPL_V1){?>
				<li>
					<a href="<?php echo $TPL_VAR["CFG"]->PATH->WWW?>/anniversary/view/<?php echo $TPL_V1->ay_seq?>">
						<p class="day_title">
							<img src="<?php echo $TPL_VAR["CFG"]->PATH->IMAGE?>/icons/heart_b.png" alt="" />
							<?php echo $TPL_V1->ay_name?>

						</p>
						<p class="day">D<?php echo $TPL_V1->days?></p>
					</a>	
				</li>
<?php }}?>
			</ul>
		</div>
		<div class="list">
			<h4>기념일 정보</h4>
			<ul>
<?php if(is_array($TPL_R1=$TPL_VAR["anniversary"]->list)&&!empty($TPL_R1)){$TPL_I1=-1;foreach($TPL_R1 as $TPL_V1){$TPL_I1++;?>
				<li>
					<a href="<?php echo $TPL_VAR["CFG"]->PATH->WWWADMIN?>/anniversary/view/<?php echo $TPL_V1->ay_seq?>" class="anni">
						<div class="name <?php if(($TPL_I1% 2)== 0){?>akddd<?php }else{?>gaeri<?php }?> "><?php echo $TPL_V1->ay_name?></div>
						<div class="day"><?php echo $TPL_V1->display_day?> (<span class="red">D<?php echo $TPL_V1->days?></span>)</div>
					</a>
				</li>
<?php }}?>
			</ul>
		</div>
	</div>
</section>